package string;

/**
 * String charAt(int index)
 * 获取指定索引位置的字符
 */
public class CharAtDemo {
    public static void main(String[] args) {
        //            0123456789
        String str = "thinking in java";
        System.out.println(str.charAt(5));
    }
}
